package cn.botter.auth.domain.convert;

import cn.botter.auth.domain.entity.AuthPermissionBO;
import cn.botter.auth.infra.basic.entity.AuthPermission;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;


@Mapper
public interface AuthPermissionConvert {
    AuthPermissionConvert INSTANCE = Mappers.getMapper(AuthPermissionConvert.class);
    /**
     * AuthPermissionBO转换为AuthPermission
     */
    AuthPermission convertBoToPermission(AuthPermissionBO authPermissionBO);


}
